Ktor Standart Key Value Repo
class KtorStandartKeyValueRepo<K, V>(baseUrl: String, baseSubpart: String, unifiedRequester: UnifiedRequester, keySerializer: KSerializer<K>, valueSerializer: KSerializer<V>, valueNullableSerializer: KSerializer<V?>) : StandardKeyValueRepo<K, V> , ReadStandardKeyValueRepo<K, V> , WriteStandardKeyValueRepo<K, V>
Content copied to clipboard
Constructors
Link copied to clipboard
fun <K, V> KtorStandartKeyValueRepo(baseUrl: String, baseSubpart: String, client: <ERROR CLASS> = HttpClient(), keySerializer: KSerializer<K>, valueSerializer: KSerializer<V>, valueNullableSerializer: KSerializer<V?>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat)
Content copied to clipboard
Functions
Link copied to clipboard
open suspend override fun keys(pagination: Pagination, reversed: Boolean): PaginationResult<K>
Content copied to clipboard
open suspend override fun keys(v: V, pagination: Pagination, reversed: Boolean): PaginationResult<K>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun values(pagination: Pagination, reversed: Boolean): PaginationResult<V>
Content copied to clipboard